<template>
    <div>
        <el-tree
                :data="tree_info"
                prop="defaultProps"
                @node-click="handleClick"
                @check-change="handleCheckChange"
                show-checkbox
        ></el-tree>
    </div>
</template>

<script>

    export default {
        name: 'father',
        props: ['tree_info', 'defaultProps'],
        methods: {
            handleClick(node) {
                this.$emit('handleClick', node)
            },
            handleCheckChange(data, checked, indeterminate) {
                this.$emit('handleCheckChange',data, checked, indeterminate)
            }
        }
    }
</script>